<#import "/spring.ftl" as spring/>
<#assign jses=[]/>
<#assign csses=[]/>

<#macro urlRandomParam url>
<@spring.url url />?t= ${Application.urlRandomParam}
</#macro>

<#macro page title>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" style="height:100%;background:#324057;" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>万联智件</title>
<link rel="icon" href="<@spring.url '/images/fac.ico' />" type="image/x-icon" />
<link rel="shortcut icon" href="<@spring.url '/images/fac.ico' />" type="image/x-icon" />
<link rel="bookmark" href="<@spring.url '/images/fac.ico' />" type="image/x-icon" />
<script>
	location._CTX=top._CTX  = "<@spring.url '' />";
	if(location.href!==top.location.href)
	{
		top.location.href=location.href;
	}
</script>
<link rel="stylesheet" type="text/css" href="<@urlRandomParam '/webjars/1.0.0/lib/element-ui/index.css' />">
<#list csses as css>
	<link rel="stylesheet" type="text/css" href="<@urlRandomParam '${css}' />" />
</#list>

</head>
<body style="zoom: 1;" >
<div id="app" v-cloak ">
     <#nested/>
</div>
	<script type="text/javascript" src="<@urlRandomParam '/webjars/1.0.0/lib/vue/vue.min.js' />"></script>
	<script type="text/javascript" src="<@urlRandomParam '/webjars/1.0.0/lib/element-ui/index.js' />"></script>
	<script type="text/javascript" src="<@urlRandomParam '/webjars/1.0.0/lib/jquery/2.1.1/jquery.min.js' />"></script>
	<script type="text/javascript" src="<@urlRandomParam '/webjars/1.0.0/lib/axios.min.js' />"></script>
	<script type="text/javascript" src="<@urlRandomParam '/webjars/1.0.0/lib/es6-promise.auto.min.js' />"></script>
	<script type="text/javascript" src="<@urlRandomParam '/webjars/1.0.0/js/common.js' />"></script>
	<#list jses as js>
		<script type="text/javascript" src="<@urlRandomParam '${js}' />"></script> 
	</#list>
</body>
</html>
</#macro>